package com.kitty.game.role.model;

/**角色宠物基础属性
 *每升一级各加一点*/

public class BasicAttrib {
    /**灵力*/
    private short wiz;
    /**体质*/
    private short con;
    /**力量*/
    private short str;
    /**敏捷*/
    private short dex;

    public BasicAttrib(int value) {
        this.wiz = (short) value;
        this.con = (short) value;
        this.str = (short) value;
        this.dex = (short) value;
    }

    public BasicAttrib(short wiz, short con, short str, short dex) {
        this.wiz = wiz;
        this.con = con;
        this.str = str;
        this.dex = dex;
    }

    public short getWiz() {
        return wiz;
    }

    public void setWiz(short wiz) {
        this.wiz = wiz;
    }

    public short getCon() {
        return con;
    }

    public void setCon(short con) {
        this.con = con;
    }

    public short getStr() {
        return str;
    }

    public void setStr(short str) {
        this.str = str;
    }

    public short getDex() {
        return dex;
    }

    public void setDex(short dex) {
        this.dex = dex;
    }

    public BasicAttrib() {
    }
}
